﻿using System;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Windows;
using System.Windows.Controls;

namespace Flare.Controls
{
    /// <summary>
    /// Interaction logic for TileWithList.xaml
    /// </summary>
    public partial class TilesUpdateList : UserControl
    {
        public TilesUpdateList()
        {
            InitializeComponent();
        }

        public string Header
        {
            get { return (string)this.GetValue(HeaderProperty); }
            set { this.SetValue(HeaderProperty, value); }
        }
        public static readonly DependencyProperty HeaderProperty = DependencyProperty.Register("Header", typeof(string), typeof(TilesUpdateList), new PropertyMetadata(""));

        public string Area
        {
            get { return (string)this.GetValue(AreaProperty); }
            set { this.SetValue(AreaProperty, value); }
        }
        public static readonly DependencyProperty AreaProperty = DependencyProperty.Register("Area", typeof(string), typeof(TilesUpdateList), new PropertyMetadata(""));

        public ObservableDictionary<Guid, string> UpdateItems
        {
            get { return (ObservableDictionary<Guid, string>)this.GetValue(UpdateItemsProperty); }
            set { this.SetValue(UpdateItemsProperty, value); }
        }
        public static readonly DependencyProperty UpdateItemsProperty = DependencyProperty.Register("UpdateItems", typeof(ObservableDictionary<Guid, string>), typeof(TilesUpdateList), new PropertyMetadata(new ObservableDictionary<Guid, string>()));
    }
}
